var mongoose = require("mongoose")
let Sechema=mongoose.Schema
let authControlSchema = new Sechema({
  dictKey: {
    type: [String],
    default: undefined
  },
  label:String,
  value:String,
  createdTime: {
    type: Date,
    default: Date.now
  },
  userName:String,
  userId:String,
  uploadTime:String,
}, { timestamps: true })
/**
 * 生成系统createdAt 和 updatedAt 日期格式
    timestamps: true
 */
let authControlModel=mongoose.model("authControlModel",authControlSchema)//model不区分大小写=》统一model的表为小写，（表结构名区分大小写，不能是驼峰命名）
module.exports=authControlModel